package com.qiwenshare.file.dto.user;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

@Data
public class SectetPwdDTO {
    @NotBlank(message = "密码不能为空")
    @Size(min = 8, max = 16, message = "用户名最少8位，最多16位")
    String passwd;
    @NotBlank(message = "确认密码不能为空")
    @Size(min = 8, max = 16, message = "用户名最少8位，最多16位")
    String checkPasswd;
}
